package com.datatools.ui.frame;

import javax.swing.tree.DefaultMutableTreeNode;

public class LeftPanelTreeNode extends DefaultMutableTreeNode {

    public LeftPanelTreeNode(){
        super();
    }
    public LeftPanelTreeNode(Object obj){
        super(obj);
    }
    public LeftPanelTreeNode(Object obj,int level){
        super(obj);
        this.level=level;
    }
    public LeftPanelTreeNode(int level){
        this.level=level;
    }

    //在树里的层级
    private int level;
    @Override
    public int getLevel() {
        return level;
    }
    public void setLevel(int level) {
        this.level = level;
    }
}
